package vtc;

import java.util.concurrent.*;
import java.util.concurrent.*;
import java.io.File; 
import java.io.IOException;
import jxl.*;
import jxl.read.biff.*;

class ProcessingUnitExample extends ProcessingUnit
{
	public ProcessingUnitExample(String id, VtcArrayBlockingQueue inQueue, VtcArrayBlockingQueue outQueue)
	{
		super(id, inQueue, outQueue);
	}
	
	public void process() throws InterruptedException
	{
			outValue_ = inValue_;
			try
			{
				TimeUnit.MILLISECONDS.sleep(10);
			}
			catch(InterruptedException e)
			{
				System.out.print("Interrupted during sleep in ProcessingUnitExample::process()\n");
				throw e;
			}
	}
}